package com.atgao.commu.mapper.pojo;

import lombok.Data;
import lombok.ToString;



import java.util.Date;

@Data
@ToString
//es 7.0需注意地方 shards ,replicas 在document弃用，改用setting注入
//@Setting(shards = 6,replicas = 3)
//@Document(indexName = "discusspost"/*,type = "_doc",shards = 4,replicas = 2*/ )
public class DiscussPost {

    private int id;

    private int userId;

    private String title;

    private String content;

    private int type;

    private int status;

    private Date createTime;

    private int commentCount;

    private double score;
}
